//
//  Button.m
//  Tom
//
//  Created by dllo on 16/6/8.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Button.h"

@implementation Button
+(instancetype)button{
 
   Button *butt = [Button buttonWithType:UIButtonTypeCustom];
    NSString *path = [[NSBundle mainBundle]pathForResource:@"cymbal" ofType:@"png"];
    UIImage *checkImage = [UIImage imageWithContentsOfFile:path];
    [butt setImage:checkImage forState:UIControlStateNormal];
    
    return butt;
    
}









@end
